// Pet.java
package com.example.pets_java.pojo;

import lombok.Data;
import java.util.Date;

@Data
public class Pet {
    private int id;
    private int ownerId;
    private String name;
    private String type;
    private String likes;
    private String gender;
    private Date birthdate;
    private String details;
    private Date createdAt; // 用于映射数据库中的 created_at 字段
}
